//
//  ListClubAnnouncementsRequest.swift
//  StravaZpot
//
//  Created by Tomás Ruiz López on 4/11/16.
//  Copyright © 2016 SweetZpot AS. All rights reserved.
//

import Foundation
import SwiftyJSON

public class ListClubAnnouncementsRequest : GetRequest<EquatableArray<Announcement>>{
    init(client : HTTPClient, id : Int) {
        super.init(client: client, url: "clubs/\(id)/announcements", parse : { $0.announcementArray })
    }
}
